package com.newbie.pet.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * 类描述：TODO
 *
 * @author zhangkailiang
 * @date 2020/5/23
 */
@ApiModel("商品信息")
@Data
@Entity
@Table(name = "t_goods")
public class GoodsEntity extends BaseEntity {

    @ApiModelProperty(value = "价格", example = "")
    private Double price;

    @ApiModelProperty(value = "单位", example = "")
    private Integer unit;

    @ApiModelProperty(value = "库存数量", example = "")
    private Integer stockQty;

    @ApiModelProperty(value = "备注", example = "")
    private String remark;
}